/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.allscore.procedure.test.repository;

import com.allscore.procedure.test.entity.Worker;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.query.Procedure;
import org.springframework.stereotype.Repository;

/**
 * @author Administrator
 */
@Repository
public interface WorkerProcRepository extends JpaRepository<Worker, Integer> {

    @Procedure(procedureName = "procEmp")
    int explicitlyProc(Integer arg);
}
